package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Like;
import cn.wolfcode.trip.base.domain.TInform;
import cn.wolfcode.trip.base.domain.TInformReadRecord;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.MessageQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMessageService {
    void insertLike(Like like);

    PageInfo getSysMsg(MessageQueryObject qo);

    void insertInform(TInform inform);

    List<TInformReadRecord> getPriMsgUser(MessageQueryObject qo);

    List<TInform> getPriMsg(MessageQueryObject qo);

    void insetTif(TInformReadRecord tInformReadRecord);

    Like checkLike(Like like);

    void deleteLike(Like like);

    Integer getPriMsgNum(MessageQueryObject qo);

    void setHasRead(TInformReadRecord qo);

    int getOnePriMsgNum(MessageQueryObject qo);
}
